package com.hopedove.yieldmanage.utils;

import android.os.Build;

import java.util.UUID;


/**
 * 获取相关系统信息
 * 
 */
public class MIP_SystemUtils
{
    
    public static String UA = Build.MODEL;

    public static int getSDKVersion()
    {
        int sdkVersion;
        try
        {
            sdkVersion = Integer.valueOf(Build.VERSION.SDK);
            
        }
        catch (NumberFormatException e)
        {
            
            sdkVersion = 0;
        }
        return sdkVersion;
    }

    public static String getUUID(){
        String uuid = UUID.randomUUID().toString();
        //去掉“-”符号
        return uuid.replaceAll("-", "");
    }


}
